package com.henushang.ranking.dao.impl;

import java.util.List;
import java.util.Map;

import org.bson.Document;
import org.springframework.stereotype.Repository;

import com.henushang.ranking.dao.UserDao;
import com.henushang.ranking.domain.User;
import com.mongodb.client.MongoCollection;

@Repository("userDao")
public class UserDaoImpl implements UserDao {

    private static String collName = "user_info";

    @Override
    public boolean insert(User t) {
        return false;
    }

    @Override
    public User getOne(String _id) {
        return null;
    }

    @Override
    public boolean delete(String _id) {
        return false;
    }

    @Override
    public List<User> getListByQueryMap(Map<String, Object> queryMap) {
        return null;
    }

    public boolean update(User t) {
        // TODO Auto-generated method stub
        return false;
    }

    public static String getCollName() {
        return collName;
    }

    @Override
    public MongoCollection<User> getColl() {
        return null;
    }

    @Override
    public Document toDocument(User user) {
        return null;
    }

    @Override
    public User fromDocument(Document document) {
        return null;
    }

    @Override
    public String getCollectionName() {
        return null;
    }
}
